package com.zbxx.springboot1.Dao;

import com.zbxx.springboot1.domain.User;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    User login(@Param("name") String name, @Param("password") String password);

    List<User> SelectUserAll();

    int deleteUser(Long id);

    User editUserId(Long id);

    int editUser(User user);

    int addUser(User user);

    int reg(User user);

    List<User> findinfo(User name);

}
